<?PHP

$ktabs= new kTabs;

$subRes = array();
$subRes[]=array("name" => "Add New", "link" => "reservation.php");
$subRes[]=array("name" => "Timeline", "link" => "reservation_timeline.php");

$subProd = array();
$subProd[]=array("name" => "Products", "link" => "products.php");
$subProd[]=array("name" => "Add Product", "link" => "products.php?mode=add&category_id=1");

$ktabs->addTab('Main','index.php');
$ktabs->addTab('Products','products.php',$subProd);
$ktabs->addTab('Orders','reservation.php',$subRes);
$ktabs->addTab('Plugins','rates.php');

?>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<?PHP	
echo $ktabs->render();
?>